package com.yueqian.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yueqian.framework.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;


@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sys_role")
public class Role extends BaseEntity {

	/**
	 * 角色名称
	 */
	private String name;

	/**
	 * 权限标识
	 */
	private String code;

	/**
	 * 启用状态：0->禁用；1->启用
	 */
	private Boolean status = true;

	/**
	 * 排序
	 */
	private Integer sort = 1;
}
